package heap
import TObject
data class DataBean(
        var type: String, // for all types
        var tag: Int? = null, // for ObjectAlloc , ObjectFree
        var objSignature: String? = null, // for ObjectAlloc , ObjectFree
        var objSize: Long? = null, // for ObjectAlloc , ObjectFree
        var objPosition: String? = null,// for ObjectAlloc , ObjectFree
        var jvmObjYoungSize: Long? = null,// for MinorGC , FullGC
        var jvmObjOldSize: Long? = null,// for MinorGC , FullGC
        var youngObjs:MutableList<TObject>?=null,//for GCFinish
        var oldObjs:MutableList<TObject>?=null // for GCFinish
)
object BeanType {
    const val VMINIT = "VMInit"
    const val FullGC = "FullGC"
    const val MINORGC = "MinorGC"
    const val GCSTART = "GCStart"
    const val GCFINISH = "GCFinish"
    const val OBJECTALLOC = "ObjectAlloc"
    const val OBJECTFREE = "ObjectFree"
}